numbers=list(range(1,20,2))
print("The first three items in the list are:")
print(numbers[:3 ])
print("Three items from the middle of the list are:")
print(numbers[4:7])
print("The last three items in the list are:")
print(numbers[-3:])
my_places=["xian","nanning","xiamen","liuzhou"]
friend_places=my_places[:]
my_places.append("dongguan")
friend_places.append("guangzhou")
print("My favorite places are:")
for my_place in my_places:
    print(my_place)
print("My favorite places are:")
for friend_place in friend_places:
    print(friend_place)
foods=("牛肉","汉堡","薯条","牛奶","包子")
for food in foods:
    print(food)
oods=("牛肉","汉堡","薯条","果汁","馒头")
for food in foods:
    print(food)
